package cn.hongwei.mall.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.hongwei.mall.common.bean.PageResultVo;
import cn.hongwei.mall.common.bean.PageParamVo;
import cn.hongwei.mall.pms.entity.AttrEntity;

import java.util.List;

/**
 * 商品属性
 *
 * @author Great
 * @email 1224028994@qq.com
 * @date 2022-03-14 20:26:19
 */
public interface AttrService extends IService<AttrEntity> {

    PageResultVo queryPage(PageParamVo paramVo);

    /**
     * 根据分类id查询规格参数
     * @param categoryId
     * @param type
     * @param searchType
     * @return
     */
    List<AttrEntity> queryByCategoryId(Long categoryId, Integer type, Integer searchType);
}

